/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.equipment.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.equipment.entity.EleMonitorParam;
import com.thinkgem.jeesite.modules.equipment.dao.EleMonitorParamDao;

/**
 * 设备监控Service
 * @author unnamed
 * @version 2018-01-10
 */
@Service
@Transactional(readOnly = false)
public class EleMonitorParamService extends CrudService<EleMonitorParamDao, EleMonitorParam> {

	public EleMonitorParam get(String id) {
		return super.get(id);
	}
	
	public List<EleMonitorParam> findList(EleMonitorParam eleMonitorParam) {
		return super.findList(eleMonitorParam);
	}
	
	public Page<EleMonitorParam> findPage(Page<EleMonitorParam> page, EleMonitorParam eleMonitorParam) {
		return super.findPage(page, eleMonitorParam);
	}
	
	@Transactional(readOnly = false)
	public void save(EleMonitorParam eleMonitorParam) {
		super.save(eleMonitorParam);
	}
	@Transactional(readOnly = false)
	public void update(EleMonitorParam eleMonitorParam) {
		dao.update(eleMonitorParam);
	}
	@Transactional(readOnly = false)
	public void delete(EleMonitorParam eleMonitorParam) {
		super.delete(eleMonitorParam);
	}
	public EleMonitorParam findEleMonitorParamByEqIdAndTitle(String eqId,String title) {
		return dao.findEleMonitorParamByEqIdAndTitle(eqId, title);
	}
	public List<EleMonitorParam> findEleMonitorParamByEqId(String eqId) {
		return dao.findEleMonitorParamByEqId(eqId);
	}
}